Interview Questions and Answer
Options:
a. This is the contract which service will implement
b. These are the methods which client can invoke on the service
c. When parameter or return type of a service operationContract used is of type custom class those are declared as ServiceContract
Reveal Answer
Options:
a. An Interface is declared as OperationContract
b. Methods in the interface are declared as OperationContract
c. The members of DataContract are declared as OperationContract
d. None of the above
Reveal Answer
Options:
a. When parameter or return type of a service operationContract used is of type custom class those are declared as DataContract
b. Methods in the interface are declared as DataContract
c. An Interface is declared as DataContract
Reveal Answer
Options:
a. svcutil.exe provides schema of the webservice to the client
b. Used to generate a proxy class on the client application
Reveal Answer
Options:
a. Provides Proxy on the Client
b. provides schema of the webservice to the client
c. Shares class on client application
Reveal Answer
Options:
a. By adding ServiceBehavior attribute to service class a service can become statefull/stateless
b. By setting InstanceContextMode attribute of ServiceBehavior in service class.We can make a service as statefull/stateless
c. WCF doesn't support statefull behavior
Reveal Answer
Options:
a. Only one Service instance is created and the same is used by all the clients for their methods called.
b. For every client a new Service instance is created and same is used for all the methods called by that client .It is the default
c. New Instance of Service is created for every method called by client
Reveal Answer
Options:
a. New Instance of Service is created for every method called by client.
b. For every client a new Service instance is created and same is used for all the methods called by that client .
c. Only one Service instance is created and the same is used by all the clients for their methods called.
Reveal Answer
Options:
a. For every client a new Service instance is created and same is used for all the methods called by that client .
b. New Instance of Service is created for every method called by client.
c. Only one Service instance is created and the same is used by all the clients for their methods called.
Reveal Answer
Bestitcourse google plus

Thank you for visiting BestITCourses, How can I help you

Thank you for visiting BestITCourses, How can I help you